package com.ruoyi.energy.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 门禁权限监控对象 omp_mj_guard_Permission
 *
 * @author cjie
 * @date 2021-07-29
 */
@Data
@ApiModel
public class MjGuardPermission extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 门禁卡号 */
    @Excel(name = "门禁卡号")
    @ApiModelProperty(value = "门禁卡号")
    private String guardNum;

    /** 员工Id */
    @Excel(name = "员工Id")
    @ApiModelProperty(value = "员工Id")
    private Long userId;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    @Excel(name = "租户Id")
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    //以下属性为页面视图属性
    /** 员工名称 */
    @Excel(name = "员工名称")
    @ApiModelProperty(value = "员工名称")
    private String userName;
    /**
     * 身份证号码
     */
    @Excel(name = "身份证号码")
    @ApiModelProperty(value = "身份证号码")
    private String idCard;

    /** 授权门禁数量 */
    @Excel(name = "授权门禁数量")
    @ApiModelProperty(value = "授权门禁数量")
    private String permissionAmount;

    /** 门禁设备Id集合 */
    @Excel(name = "门禁设备Id集合")
    @ApiModelProperty(value = "门禁设备Id集合")
    private List<String> deviceIdList;
}
